package com.hs.hoj.questionsevice;

import com.alibaba.nacos.api.annotation.NacosProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@ComponentScan("com.hs")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hs.hoj.hojserviceclient.service"})
public class HojQuestionSeviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(HojQuestionSeviceApplication.class, args);
    }
}
